package com.unitechs.trap.common.pojo.trap.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class CountData implements Serializable {
    private String alarmtypeDataCount;
    private String traptypeDataCount;
    private String trapvarnameDataCount;
    private String trapvarvalueDataCount;
    private String trapvarbindCount;
    private String fileCount;
    /**
     * excel读取行数
     */
    private String allDataCount;

    public void setAlarmtypeDataCount(Integer i) {
        this.alarmtypeDataCount = "dc_ala_alarmtype表写入了:"+i+"条数据";
    }

    public void setTraptypeDataCount(Integer i) {
        this.traptypeDataCount = "dc_ala_traptype表写入了:"+i+"条数据";
    }

    public void setTrapvarnameDataCount(Integer i) {
        this.trapvarnameDataCount = "dc_ala_trapvarname表写入了:"+i+"条数据";
    }

    public void setTrapvarvalueDataCount(Integer i) {
        this.trapvarvalueDataCount = "dc_ala_trapvarvalue表写入了:"+i+"条数据";
    }

    public void setTrapvarbindCount(Integer i) {
        this.trapvarbindCount = "dc_ala_trapvarbind表写入了:"+i+"条数据";
    }

    public void setAllDataCount(Integer i) {
        this.allDataCount = "从Excel获取了出标题行:"+i+"行数据";
    }

    public void setFileCount(Integer i) {
        this.fileCount = "读取的Excel文件数为:"+i;
    }
}
